package org.jeecg.modules.monitoring.j_monitoring.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.RealStorage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 实际存储Mapper
 * @Author: xiaoyq
 * @Date:   2023-11-22
 * @Version: V1.0
 */
public interface RealStorageMapper extends BaseMapper<RealStorage> {
    /**
     * 删除FDN对应的存储
     * @param fdn
     * @return
     */
    int deleteByFdn(@Param("fdn") String fdn);

    /**
     * 查询Fdn的存储资源
     * @param fdn
     * @return
     */
    RealStorage selectByFdn(@Param("fdn") String fdn);
}
